export const MESSAGE_CALL = 1
export const MESSAGE_CALLBACK = 2
export const MESSAGE_CALLBACK_RESULT = 3

export const MESSAGE_EXIT = 1 << 8
export const MESSAGE_EXITED = 1 << 8
export const MESSAGE_READY = 3 << 8

export const MESSAGE_RESULT_SUCCESS = 0
export const MESSAGE_RESULT_ERROR = 1 << 16

export const MESSAGE_CALL_SUCCESS = MESSAGE_CALL | MESSAGE_RESULT_SUCCESS
export const MESSAGE_CALL_ERROR = MESSAGE_CALL | MESSAGE_RESULT_ERROR
export const MESSAGE_CALLBACK_RESULT_SUCCESS = MESSAGE_CALLBACK_RESULT | MESSAGE_RESULT_SUCCESS
export const MESSAGE_CALLBACK_RESULT_ERROR = MESSAGE_CALLBACK_RESULT | MESSAGE_RESULT_ERROR
